Carbon


KCRemoveCallback

Header: Keychain.h Carbon status: Under Evaluation

Unregisters your Keychain event-handling callback function.

OSStatus KCRemoveCallback (
    KCCallbackUPP callbackProc
);
callbackProc

A UPP to a callback function that was previously registered with the function KCAddCallback. After you call KCRemoveCallback, your callback will no longer be called by the Keychain Manager.

function result

A result code. The result code errKCInvalidCallback indicates that the callback function was not previously registered.

DISCUSSION

Be sure to dispose of the UPP by calling the function DisposeKCCallbackUPP.

SPECIAL CONSIDERATIONS

After calling KCRemoveCallback, you should call the function DisposeKCCallbackUPP to dispose of the UPP to your callback function.

VERSION NOTES

Available beginning with Keychain 1.0.

AVAILABILITY

Under evaluation for Carbon. Available in CarbonLib 1.0 and later when KeychainLib 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by KeychainLib 1.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)